package study.saas.order.entity;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import study.saas.common.util.viewmodel.BaseEntity;
import study.saas.common.util.viewmodel.BaseObject;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Index;
import javax.persistence.Table;
import java.math.BigDecimal;

/**
 * @author wwy
 */
@Data
@Entity
@Table(name="porder")
@ApiModel
public class Porder extends BaseEntity {

    @Column
    @ApiModelProperty(value = "订单ID")
    private Integer porderId;

    @Column
    @ApiModelProperty(value = "订单商品名称")
    private String porderCommodityName;

    @Column
    @ApiModelProperty(value = "订单商品数量")
    private Integer porderCommodityAmount;

    @Column
    @ApiModelProperty(value = "订单商品价格")
    private BigDecimal porderCommodityPrice;

    @Column
    @ApiModelProperty("收货地址")
    private String buyerAddress;

    @Column
    @ApiModelProperty("买家姓名")
    private String buyerName;




}
